package org.coone.veteran.basic.hashcode;

/**
 * 对象在比较陷阱
 */
public class ObjectEqual {

	public static void main(String[] args) {
		SampleObj obj1 = new SampleObj(1, "sample", 29);
		SampleObj obj2 = new SampleObj(1, "sample", 29);
		
		System.out.println(obj1.equals(obj2));
	}
}
